export default {
  namespaced: true,
  state () {
    return {
      device: 'DESKTOP'
    }
  },
  mutations: {
    TOGGLE_DEVICE: (state, device) => {
      state.device = device;
    }
  },
  actions: {
    toggleDevice ({ commit }, device) {
      commit('TOGGLE_DEVICE', device);
    }
  }
};